<?php
/**
 * @Author: Ron Chen
 * @Date:   2016-12-10 11:31:44
 * @Last Modified by:   Ron Chen
 * @Last Modified time: 2016-12-10 11:47:21
 */

namespace common\bases;

use Yii;
use yii\web\Controller;

/**
* 
*/
class BaseController extends Controller
{
	/**
	 * 获得请求对象
	 */
	public function getRequest()
	{
		return Yii::$app->getRequest();
	}
	
	/**
	 * 获得返回对象
	 */
	public function getResponse()
	{
		return Yii::$app->getResponse();
	}
}